#include <stdio.h> 
#define LEN 20
void getnchar(char [], int);
int main(int argc, char* argcv[])
{
	char str[LEN];
	getnchar(str, 10);
	fputs(str, stdout);
	return 0;
	
}

void getnchar(char arr[], int n)
{
	int i = 0;
	for(i; i<n-1; i++)
		arr[i] = getchar();
	if(i == n-1)
		arr[n-1] = '\0';
	
}
